package com.firewolf.oa.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.firewolf.oa.base.impl.BaseServiceImpl;
import com.firewolf.oa.dao.PermissionDao;
import com.firewolf.oa.entities.Permission;
import com.firewolf.oa.service.PermissionService;

@Service
@Transactional
public class PermissionServiceImp extends BaseServiceImpl<Permission> implements PermissionService{

	@Autowired
	private PermissionDao permissionDao;
	
	@Override
	public List<Permission> findTopPermission() {
		return permissionDao.findTopPermission();
	}

}
